const POST = 'POST'
const GET = 'GET'

const Sign = ''

export const system = {
  /**
   * 字典管理接口
   */
  // 字典内容
  getDictVoList: ['/admin/api/dict/page-info', GET, Sign],
  addDictVo: ['/admin/api/dict/create', POST, Sign],
  editDictVo: ['/admin/api/dict/edit', POST, Sign],
  deleteDictVo: ['/admin/api/dict/delete', GET, Sign],
  deleteDictIdsVo: ['/admin/api/dict/deleteIds', POST, Sign],

  // 字典详情
  getDictItemList: ['/admin/api/dict/item/page-info', GET, Sign],
  addDictItem: ['/admin/api/dict/item/create', POST, Sign],
  editDictItem: ['/admin/api/dict/item/edit', POST, Sign],
  deleteDictItem: ['/admin/api/dict/item/delete', GET, Sign],

  // 根据type查询字典内容
  getDictVoByType: ['/admin/api/dict/dictVoByType', GET, Sign],
  getDictVoByTypeArray: ['/admin/api/dict/dictVoByTypeArray', POST, Sign]
}
